import DBUtil as DB

new DB().deleteEntity("user","name",params.name)

request['message'] = "用户删除成功!"

forward "showAllUser.groovy"